﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>请假页面</title>
    <link href="~/element-ui/element-ui/theme-chalk/index.css" rel="stylesheet" />
    <link href="~/lib/layui/css/layui.css" rel="stylesheet" />
    <script src="~/lib/layui/layui.js"></script>
    <script src="~/lib/jquery/dist/jquery-3.3.1.min.js"></script>
    <script src="~/js/vue.js"></script>
    <script src="~/element-ui/element-ui/element.js"></script>
    <script src="~/js/axios.min.js"></script>
</head>
<body>
    <div id="leave" style="margin-left:200px">
        <h1>请假申请单</h1>
        <el-form :inline="true" label-position="top" class="demo-form-inline">
            <el-form-item label="申请人">
                <el-input placeholder="请输入申请人姓名" :value="staff_NAME"></el-input>
            </el-form-item>
            <el-form-item label="性别">
                <el-radio-group>
                    <el-radio v-model="radio" :label="0">男</el-radio>
                    <el-radio v-model="radio" :label="1">女</el-radio>
                </el-radio-group>
            </el-form-item>
            <el-form-item label="请假日期">
                <el-date-picker type="date" placeholder="选择日期" :value="Entry" style="width: 100%;"></el-date-picker>
            </el-form-item>
            <el-form-item label="所属部门">
                <el-select v-model="bm" placeholder="所在部门">
                    <el-option v-for="item in list1" :key="item.depar_ID" :label="item.depar_NAME" :value="item.depar_ID"></el-option>
                </el-select>
            </el-form-item>
            <el-form-item label="请假类别">
                <el-select v-model="bm" placeholder="请假类别">
                    <el-option v-for="item in list1" :key="item.depar_ID" :label="item.depar_NAME" :value="item.depar_ID"></el-option>
                </el-select>
            </el-form-item>
            <el-form-item label="请假原因">
                <el-input type="textarea" placeholder="请输入原因" :value=""></el-input>
            </el-form-item>
            <el-form-item label="请假开始日期">
                <el-input placeholder="开始日期" :value=""></el-input>
            </el-form-item>
            <el-form-item label="请假结束日期">
                <el-input placeholder="结束日期" :value=""></el-input>
            </el-form-item>


            @*<el-form-item label="职位">
                <el-select v-model="zw" placeholder="职位">
                    <el-option v-for="item in list2" :key="item.job_ID" :label="item.job_Name" :value="item.job_ID"></el-option>
                </el-select>
            </el-form-item>*@
            <br />
            <el-form-item label="地址">
                <el-input type="textarea" style="width:600px;" :value="Address"></el-input>
            </el-form-item>
            <br />
            <el-form-item label="备注">
                <el-input type="textarea" style="width:600px;" :value="remarks"></el-input>
            </el-form-item>
            <br />
            <el-form-item>
                <el-button type="primary" action="add()">立即创建</el-button>
                <el-button>取消</el-button>
            </el-form-item>
        </el-form>
    </div>
</body>
</html>
